<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  
</body>
<script>
  // var a = {
  //   b: 2,
  //   fun1: function(){
  //     console.log(this.b)
  //   },
  // };
  // var fun2 = a.fun1();
  // a.fun1();
  // fun2();
  var temp = 123;
  function f () {
    console.log(temp);
    if (false) {
      var temp = 456;
    }
  }
  f()
</script>
</html>